set hive.exec.dynamic.partition=true;            --  动态分区
set hive.exec.dynamic.partition.mode=nonstrict;
set hive.exec.max.dynamic.partitions=90;         --  每天生成 60 个分区
set hive.exec.max.dynamic.partitions.pernode=90; --  每天生成 60 个分区

insert overwrite table jms_dim.dim_indicator_data_config_dt partition(dt)
select
id
,target_rate
,site_code
,site_name
,month_day
,modify_by
,modify_time
,delete_flag
,dt
from jms_ods.indicator_data_config
where dt='{{ execution_date | cst_ds }}'
 distribute by 1 ;